package cn.pzaily.orange.core.utils;

import java.io.Closeable;
import java.io.IOException;

/**
 * @PackageName: cn.pzaily.orange.core.utils
 * @Description:
 * @Author: Pang
 * @Date: 2021-05-11 22:50
 */
public class IOUtils {

    public static void close(final Closeable closeable) {
        try {
            if (null != closeable) {
                closeable.close();
            }
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

}
